load("/data/general/grids/basic.lua")

newEntity{
	define_as = "CASTLE",
	name = "next level",
	display = '>', color_r=255, color_g=255, color_b=0, back_color=colors.DARK_GREY,
	notice = true,
	always_remember = true,
	change_level = 1,
	change_zone = "castle-enemy",
}

newEntity{ define_as = "PORTAL",
	show_tooltip=true, name='a dead portal',
	display='>', color=colors.VIOLET, image="terrain/grass.png",
	add_displays = {mod.class.Grid.new{image="terrain/portal_dead.png", dislpay_on_seen=true, display_on_remember=true}}
}
newEntity{ define_as = "FIRE",
	show_tooltip=true, name='Fire Portal',
	display='>', color=colors.RED,
	change_level=1, change_zone="temple-fire",
	image="terrain/grass.png",
	add_displays = {mod.class.Grid.new{image="terrain/portal_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}
}
newEntity{ define_as = "EARTH",
	show_tooltip=true, name='Earth Portal',
	display='>', color=colors.UMBER,
	change_level=1, change_zone="temple-earth",
	image="terrain/grass.png",
	add_displays = {mod.class.Grid.new{image="terrain/portal_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}
}
newEntity{ define_as = "WATER",
	show_tooltip=true, name='Water Portal',
	display='>', color=colors.BLUE,
	change_level=1, change_zone="temple-water",
	image="terrain/grass.png",
	add_displays = {mod.class.Grid.new{image="terrain/portal_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}
}
newEntity{ define_as = "AIR",
	show_tooltip=true, name='Air Portal',
	display='>', color=colors.YELLOW,
	change_level=1, change_zone="temple-air",
	image="terrain/grass.png",
	add_displays = {mod.class.Grid.new{image="terrain/portal_alpha1.png", dislpay_on_seen=true, display_on_remember=true}}
}
